<template>
  <div :class="{ main_spac1: main_spac1 }">
    <!-- main_spac1 -->
    <!-- padding10 -->
    <div :class="['main_white', { padding10: padding10 }]">
      <div class="mainor_form">
        <div class="mainor_te">
          <slot name="HeaderRight"></slot>
        </div>
        <slot name="HeaderLeft"></slot>
      </div>
      <div class="main_num boxdq">
        <div class="main_num_l box">
          <div class="mainsu_te marginRight5"></div>
          <p>
            <em>
              <slot name="TableLeft"></slot>  
            </em>
          </p>
        </div>
        <div class="mainsu_te" style="position: relative">
          <slot name="TableRight"></slot>
        </div>
      </div>

      <div class="main_table">
        <slot name="Table"></slot>
      </div>

      <div class="main_page boxdq">
        <div></div>
        <!-- 分页 -->
        <div class="main_page_r">
          <slot name="Page"></slot>
        </div>
      </div>
    </div>
    <slot name="Dialog"></slot>
    <slot name="Default"></slot>
  </div>
</template>

<script>
export default {
  props: {
    main_spac1: {
      type: Boolean,
      default: true,
    },
    padding10: {
      type: Boolean,
      default: true,
    },
  },
};
</script>
<style lang="scss" scoped>
.mainor_form form {
  width: calc(100% - 350px);
}
</style>
